package org.boni.jpa4jcr.persistence;

import java.util.Map;

import javax.persistence.EntityManagerFactory;
import javax.persistence.spi.PersistenceProvider;
import javax.persistence.spi.PersistenceUnitInfo;

public class JcrPersistenceProvider implements PersistenceProvider {

	public EntityManagerFactory createContainerEntityManagerFactory(
			PersistenceUnitInfo arg0, Map arg1) {
		return new JcrEntityManagerFatory();
	}

	public EntityManagerFactory createEntityManagerFactory(String arg0, Map arg1) {
		// TODO Auto-generated method stub
		return new JcrEntityManagerFatory();
	}

}
